package com.wenterprises.snkeishiki.player;

/**
 * Represents the RPG systems supported on SNKeishiki software.
 * @author Rafael
 */
public enum RPGSystem {
    TDTA("3D&T Alpha Version", "3D&T", "A"), 
    TDTT("3D&T Turbo Version", "3D&T", "T"), 
    DD35("Dungeons & Dragons 3.5", "D&D", "35"),
    DD40("Dungeons & Dragons 4.0", "D&D", "40");
    
    private String name;
    private String shortName;
    private String version;
    
    private RPGSystem(String name, String shortName, String version) {
        this.name = name;
        this.shortName = shortName;
        this.version = version;
    }
    
    public String getShortName() {
        return shortName;
    }
    
    public String getCommonFolder() {
        return String.format("src/main/resources/%s/Common/", shortName);
    }
    
    public String getFolder() {
        return String.format("src/main/resources/%s/%s/", shortName, version);
    }
    
    @Override
    public String toString() {
        String result = "System ";
        result += name;
        return result;
    }
}
